<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script type="text/javascript" src="<c:url value='/js/jquery-1.8.3.js'/>"></script>
<script type="text/javascript">
function findAGoods(id){
	$.get(
		"<c:url value='/jsps/common/mainer.jsp'/>",
		function(data){
			debugger
			$("#container1").html(data)
		}
		)
}
</script>
<!-- Sidebar -->
    <div class="sidebar">
        <div class="sidebar-dropdown"><a href="#">导航</a></div>

        <!--- Sidebar navigation -->
        <!-- If the main navigation has sub navigation, then add the class "has_sub" to "li" of main navigation. -->
        <ul id="nav">
          <!-- Main menu with font awesome icon -->
          <li><a href="index.html" class="open"><i class="icon-home"></i> 系统菜单</a>
          </li>
          <c:forEach items="${menuList }" var="menu">
	          <li class="has_sub"><a href="#"><i class="icon-list-alt"></i> ${menu.name } <span class="pull-right"><i class="icon-chevron-right"></i></span></a>
	            <ul>
	           	 	<c:forEach items="${menu.secMenu }" var="secMenu">
	             		 <li><a href="#" onclick="findAGoods(${secMenu.uuid})">${secMenu.name }</a></li>
	             	 </c:forEach>
	            </ul>
	          </li>  
          </c:forEach>
        </ul>
    </div>

    <!-- Sidebar ends -->
